//
//  MRCountry_HotCityCollectionViewCell.m
//  Travel_World
//
//  Created by dllo on 15/10/15.
//  Copyright © 2015年 TLS. All rights reserved.
//

#import "MRCountry_HotCityCollectionViewCell.h"

@implementation MRCountry_HotCityCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.ImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 160 * WID, 90 * HEI)];
        [self.contentView addSubview:self.ImageView];
        
        self.cnname = [[UILabel alloc] initWithFrame:CGRectMake(0, 30 * HEI, self.contentView.frame.size.width, 30 * HEI)];
        self.cnname.font = [UIFont systemFontOfSize:20];
        self.cnname.textColor = [UIColor whiteColor];
        self.cnname.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.cnname];
        
        self.enname = [[UILabel alloc] initWithFrame:CGRectMake(0, 60 * WID, self.contentView.frame.size.width, 20 * HEI)];
        self.enname.font = [UIFont systemFontOfSize:14];
        self.enname.textAlignment = NSTextAlignmentCenter;
        self.enname.textColor = [UIColor whiteColor];
        [self.contentView addSubview:self.enname];
        
    }
    return self;
}

@end
